package com.lyf.scm.plan.domain.service;

import com.github.pagehelper.PageInfo;
import com.lyf.scm.common.model.ExcelExportDataDTO;
import com.lyf.scm.plan.api.dto.*;

/**
 * 直营预测计划_目标与销售计划差异
 *
 * @author wangchlei
 * @date 2020/08/05
 */
public interface SalePlanDirectlyDifferinService {
    /**
     * 按条件查询直营预测计划_目标与销售计划差异(周)
     *
     * @param salePlanDirectlyDifferinDTO
     * @return {@link PageInfo<SalePlanDirectlyDifferinInfoDTO>}
     **/
    PageInfoExpandDTO<SalePlanDirectlyDifferinInfoDTO> listWeekBySelective(SalePlanDirectlyDifferinDTO salePlanDirectlyDifferinDTO);

    /**
     * 图表数据接口
     *
     * @param salePlanDirectlyDifferinDTO
     * @return {@link EChartsDTO}
     **/
    EChartsExpandDTO eChartsData(SalePlanDirectlyDifferinDTO salePlanDirectlyDifferinDTO);

    ExcelExportDataDTO export(SalePlanDirectlyDifferinDTO salePlanDirectlyDifferinDTO, Integer type);

    /**
     * 删除对应标识数据
     *
     * @param opSign
     */
    void delete(String opSign);
}
